package com.learn.servloader.switches;

import com.learn.servloader.Parser;
import com.learn.servloader.TypeConstants;
import org.springframework.stereotype.Component;

import java.io.Reader;
import java.util.ArrayList;
import java.util.List;

@Component(TypeConstants.CSV_PARSER)
public class CSVParser implements Parser {

    @Override
    public List parse(Reader r) {
        System.out.printf("解析CSV格式文件...");
        return new ArrayList<>();
    }

}
